var Country=require('../schema/country.js');

exports.create=function(data,callback){
    var country=new Country({
        Name:data.name
    });
    country.save(function(err,country){
        if(!err){
            callback(null,country);
        }
        else{
            callback(err,null);
        }
    });
};